package com.nowcoder.community.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author AnYang
 * @Description 启动spring线程池
 * @Version 1.0.0
 * @Date 2024/2/11
 */
@Configuration
// 启动定时任务
@EnableScheduling
// 启动异步任务
@EnableAsync
public class ThreadPollConfig {
}
